package com.sunnada.demo.log.annotation;

import java.lang.annotation.*;

/**
 * @program: mybatisproject2
 * @description: 日志字段记录
 * @author: 李瑞益
 * @create: 2018-11-03 16:36
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface LogField {
    /**字段名*/
    String value();
    
    /*是否是主键*/
    boolean primaryKey() default false;
}
